package com.mdhw.system.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.mdhw.system.entity.SysKdCode;
import com.mdhw.system.vo.SysKdCodeVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface SysKdCodeDao extends BaseMapper<SysKdCode> {
    int deleteByPrimaryKey(Long id);

    int insert(SysKdCode record);

    int insertSelective(SysKdCode record);

    SysKdCode selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysKdCode record);

    int updateByPrimaryKey(SysKdCode record);

   List<SysKdCodeVo> getSysKdCodeList(@Param(Constants.WRAPPER) QueryWrapper<SysKdCodeVo> wrapper);
}
